export enum IdentityType {
    IdCard = 1, // 身份证
    Insurance,  // 医保证
    Passport, // 护照
    Military, // 军官证/士兵证
    Other
}

export interface Address {
    province: string;
    city: string;
    district: string;
    street?: string;
}

export interface Identity {
    identityNo: string;
    identityType: IdentityType;
}

export interface User {
    id?: string;
    email: string;
    password: string;
    name: string;
    avatar?: string;
    projectIds?: string[];
    address?: Address;
    identity?: Identity;
    dateOfBirth?: Date;
}
